<%= error_messages_for 'task' %>

<!--[form:task]-->
<p><label for="task_description">Description</label><br/>
<%= text_area 'task', 'description'  %></p>

<p><label for="task_status">Status</label><br/>
<%
i = 0
result = []
@status.each do |status|
	result[i] = [status, i]
	i+=1
end
%>
<%= select_tag 'task_status',  
  options_for_select( result ),
  { :multiple => false, :size =>1 } 
%>
</p>

<p><label for="task_date_updated">Date updated</label><br/>
<%= datetime_select 'task', 'date_updated'  %></p>
<!--[eoform:task]-->

